<?php
/**
 * Created by PhpStorm.
 * User: R.Ice
 * Date: 2018/8/22
 * Time: 18:04
 * name:删除学校班级
 * url:/erpSchoolClass/delete_school_class
 */

//获取参数
$osc_id = $route->bodyParams["osc_id"];//主键ID

$whereArr = [
    "osc_id" => $osc_id
];

//执行写入语句
$rsData = $db->mysqlDB->delete("oa_school_class",$whereArr,false);

//返回成功结果
$response->responseData( true, $rsData );